package com.bms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.bms.bean.ExamProjectType;
import com.bms.comm.Pagination;
@Qualifier
@Repository
public interface ExamProjectTypeDao {
	
	/**
	 * 查询科目id序列
	 * @return
	 */
	String getExamProjectTypeSequence();
	
	/**
	 * 查询科目
	 * @return
	 */
	List<ExamProjectType> queryExamProjectTypeList(@Param("creator_id")String creator_id);
	
	/**
	 * 分页查询科目
	 * @param creator_id
	 * @param curPageNo
	 * @param project_type_name
	 * @return
	 */
	List<ExamProjectType> queryExamProjectTypeForPage(@Param("creator_id")String creator_id,@Param("project_type_name")String project_type_name,@Param("pagination")Pagination<ExamProjectType> pagination);
	
	/**
	 * 保存
	 * @param projectType
	 */
	void saveExamProjectType(ExamProjectType projectType);
	
	/**
	 * 根据Id删除
	 * @param projectTyoeId
	 */
	void deleteExamProjectTypeById(@Param("projectTyoeId")String projectTyoeId);
}
